package myclient;
/**
 * @author JIAO
 */
public class FriendMessage {
	private String name;
	private String pic;
	private String status;
	private String motto;
	private String birthday;
	private String city;
	FriendMessage(String name,String pic,String status,String motto,String birthday,String city){
		this.name = name;
		this.pic = pic;
		this.status = status;
		this.motto = motto;
		this.birthday = birthday;
		this.city = city;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMotto() {
		return motto;
	}

	public void setMotto(String motto) {
		this.motto = motto;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public void changeStatus(){
		if(status.equals("0")){
			status = "1";
			return;
		}
		status = "0";
	}
	
}
